package com.shanhai.wallpapers.di

import com.shanhai.wallpapers.network.remote.PexelsRemoteDataSource
import com.shanhai.wallpapers.network.repository.PexelsRepository
import org.koin.dsl.module

val repositoryModule = module {
    factory { PexelsRemoteDataSource(pexelsApi = get()) }
    single { PexelsRepository(pexelsRemoteDataSource = get()) }
}